/* 通用容器样式 */
.container {
  padding: 20rpx;
  background-color: #f5f5f5;
  min-height: 100vh;
}

/* 卡片部分样式 */
.card-section {
  background-color: #fff;
  padding: 20rpx;
  border-radius: 10rpx;
  margin-bottom: 20rpx;
}

/* 标题样式 */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20rpx;
}

.section-title {
  font-size: 32rpx;
  font-weight: bold;
}

.more {
  color: #999;
  font-size: 24rpx;
}

/* 按钮基础样式 */
.base-button {
  padding: 30rpx;
  border-radius: 16rpx;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  
  &::before {
    content: '';
    position: absolute;
    width: 120rpx;
    height: 120rpx;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -60rpx;
    right: -30rpx;
  }
  
  .btn-title {
    font-size: 38rpx;
    font-weight: bold;
    display: flex;
    align-items: center;
    color: #ffffff;
    
    &::after {
      content: '>';
      margin-left: 10rpx;
      font-size: 32rpx;
    }
  }
  
  .sub-text {
    font-size: 26rpx;
    margin-top: 12rpx;
    opacity: 0.9;
    color: #ffffff;
  }
}

/* 网格布局 */
.grid-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20rpx;
  margin-top: 20rpx;
}

/* 图标基础样式 */
.base-icon {
  width: 80rpx;
  height: 80rpx;
  border-radius: 50%;
  margin-bottom: 10rpx;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 渐变背景 */
.gradient-primary {
  background: linear-gradient(to right, #39c5bb, #398dee);
  position: relative;
  overflow: hidden;
  
  &::before {
    content: '';
    position: absolute;
    width: 200rpx;
    height: 200rpx;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -100rpx;
    right: -50rpx;
  }
  
  &::after {
    content: '';
    position: absolute;
    width: 150rpx;
    height: 150rpx;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    bottom: -70rpx;
    left: 30rpx;
  }
}

.gradient-red {
  background: linear-gradient(135deg, #ff6b6b, #ff4757);
  box-shadow: 0 4rpx 20rpx rgba(255, 71, 87, 0.3);
  transition: transform 0.3s ease;
  
  &:active {
    transform: scale(0.98);
  }
}

.gradient-blue {
  background: linear-gradient(135deg, #4e8cff, #2d5cff);
  box-shadow: 0 4rpx 20rpx rgba(45, 92, 255, 0.3);
  transition: transform 0.3s ease;
  
  &:active {
    transform: scale(0.98);
  }
}